<%@page language="java" contentType="text/html;charset=utf-8"%>
<%@page import="java.util.*"%>
<%@page import="com.ncist.pojo.Messages"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML >
<%
    request.setCharacterEncoding("utf-8");
    response.setContentType("text/html;charset=utf-8");
    String flag = request.getParameter("flag");
    if (flag == null) {
        flag = "";
    }
    if (flag.equals("true")) {
%>
<script type="text/javascript">
    alert("登陆成功");
</script>
<%
    }
  response.sendRedirect("message");
%>